
#字典主要抓住   key value即可
my_dic={
        "王力宏":{"部门":"科技部","工资":3000,"级别":1},
        "周杰伦":{"部门":"市场部","工资":5000,"级别":2},
        "林俊杰":{"部门":"市场部","工资":7000,"级别":3},
        "张学友":{"部门":"科技部","工资":4000,"级别":1},
        "刘德华":{"部门":"市场部","工资":6000,"级别":2}
        }
# print(my_dic)
for n in my_dic:
    print(f"{n}:{my_dic[n]}")

print("\t")

for n in my_dic:
    if my_dic[n]["级别"]==1:
        my_dic[n]["级别"]+=1
        my_dic[n]["工资"]+=1000
    print(f"{n}:{my_dic[n]}")

# print(f"调整之后公司人员待遇{my_dic}")